package cn.net.isir.entity.dto;

import cn.net.isir.core.InsertRequired;

/**
 * @author liuxubo
 * @filename User.java
 * @package cn.net.isir.entity.dto
 * @email lxb@isir.net.cn
 * @date 2018/11/21
 * @comment 用户登陆传递信息实体类
 * @since 1.8
 */
public class LoginUser {
    /**
     * 用戶名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 验证码
     */
    private String verificationCode;
    /**
     * 类型：手机号/用户名
     */
    private String type;//mobile/account
    /**
     *自动登录：true/false
     */
    private boolean autoLogin;//true/false

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isAutoLogin() {
        return autoLogin;
    }

    public void setAutoLogin(boolean autoLogin) {
        this.autoLogin = autoLogin;
    }
}
